package org.example.exampreparationtreasure.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("question_categories")
public class Categories implements Serializable {
    @TableId(value = "category_id", type = IdType.AUTO)
    private Long categoryId;

    private Long parentCategoryId;

    private String categoryName;

    private Integer sortWeight;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}


